package com.example.util;
import android.util.Log;
import net.tsz.afinal.FinalHttp;
import net.tsz.afinal.http.AjaxCallBack;

public class HttpUtil2 {
	public static String result ="";
	@SuppressWarnings({ "unchecked", "rawtypes" })
	public static void sendHttp(String urlString) {
		FinalHttp http=new FinalHttp();
		http.post(urlString, new AjaxCallBack(){
			public void onSuccess(Object t) {
				result="";
				String tempString=t.toString();
				result +=tempString;
				Log.i("Demo", HttpUtil2.result);
			}
			
		});
		
	}
	
}
